import infrastructure.Initializer;
import infrastructure.configuration.Configuration;

import java.io.IOException;
import java.sql.SQLException;
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
import java.util.logging.Level;
import java.util.logging.Logger;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import javax.persistence.Query;

import dal.Pet;
import dal.Pet_type;
import dal.User;

import remote.ConnectionManager;


public class mainclass {
	public static void main(String[] args)   {				   
		try {
			Initializer.initialize();
			ConnectionManager.getInstance().startManager();
		} catch (IOException e) {
			e.printStackTrace();
			Logger.getLogger(mainclass.class.getName()).log(Level.SEVERE,"Failed to start server",e);
		}
	}
		  
}

